/**
 * ToolBar：工具栏
 * @type {Object}
 */
import React  from 'react'
import style from './index.less'

import SearchFormBox from '../SearchFormBox'
import ExportReport from '../ExportReport'





/**
 * [工具栏]
 * @type {Object}
 */
 const ToolBar=({
 	...formProps,
 	showReport,
  searchSence,
 	searchReport,
 	url,
 	})=>{
 	return (
 		<div className={style.toolBar}>
 			<SearchFormBox {...formProps} searchSence={searchSence} searchReport={searchReport} />
 			{
 				showReport?<ExportReport url={url}/>:null
 			}
 			
 		</div>
 	)
 }

export default ToolBar
